
public class Terraria extends Thread
{
	protected World w;
	protected Player player;
	public Terraria(World w, Player p)
	{
		this.w = w;
		w.alive.add(p);
		this.player=p;
	}
	public void run()
	{
		GUI g = new GUI(w,player);
		while(true)
		{
			w.cycle();
			g.render();
		}
	}
}
